From: Keir Fraser Date: Mon, 8 Oct 2007 09:57:32 +0000 (+0100) Subject: xend: Remove unused xoptions.netback_type. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14901 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=f15dc94beccee98875b942c8ad82540efcb9a490;p=xen.git xend: Remove unused xoptions.netback_type. Signed-off-by: Keir Fraser --- diff --git a/tools/python/xen/xend/XendOptions.py b/tools/python/xen/xend/XendOptions.py index af09220782..0ac9ca62ef 100644 --- a/tools/python/xen/xend/XendOptions.py +++ b/tools/python/xen/xend/XendOptions.py @@ -111,9 +111,6 @@ class XendOptions: """Default xend QCoW storage repository location.""" xend_storage_path_default = '/var/lib/xend/storage' - """Default type of backend network interfaces""" - netback_type = osdep.netback_type - """Default script to configure a backend network interface""" vif_script = osdep.vif_script diff --git a/tools/python/xen/xend/osdep.py b/tools/python/xen/xend/osdep.py index 3dc343385e..93b2dfdb4e 100644 --- a/tools/python/xen/xend/osdep.py +++ b/tools/python/xen/xend/osdep.py @@ -33,10 +33,6 @@ _pygrub_path = { "SunOS": "/usr/lib/xen/bin/pygrub" } -_netback_type = { - "SunOS": "SUNW_mac" -} - _vif_script = { "SunOS": "vif-vnic" } @@ -96,6 +92,5 @@ def _get(var, default=None): scripts_dir = _get(_scripts_dir, "/etc/xen/scripts") xend_autorestart = _get(_xend_autorestart) pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub") -netback_type = _get(_netback_type, "netfront") vif_script = _get(_vif_script, "vif-bridge") lookup_balloon_stat = _get(_balloon_stat, _linux_balloon_stat)